package com.qf.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseResult implements Serializable {
    private Integer code;
    private String info;
    private Object data;
    private Long total;

    public BaseResult(Integer code, String info, Object data) {
        this.code = code;
        this.info = info;
        this.data = data;
    }

}
